package cn.com.coldg.dao;

import java.util.List;

import cn.com.coldg.bean.UserInfo;

public interface UserInfoDAO {
	public boolean add(UserInfo user);
	public List<UserInfo> findAll();
	public List<UserInfo> findByName(String name);
	public UserInfo findById(int id);
	public boolean update(UserInfo user);
	public boolean delete(int userId);
	public void updateUserType();
}
